/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统                                
 *                Web: https://www.corecms.net                      
 *             Author: 大灰灰                                          
 *              Email: jianweie@163.com                                
 *         CreateTime: 2022/5/8 22:18:48
 *        Description: 暂无
 ***********************************************************************/

using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 用户等级表
    /// </summary>
    public partial class CoreCmsUserGrade
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public CoreCmsUserGrade()
        {
        }
		
        /// <summary>
        /// id
        /// </summary>
        [Display(Name = "id")]
		
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 id  { get; set; }
        
		
        /// <summary>
        /// 标题
        /// </summary>
        [Display(Name = "标题")]
		
        [Required(ErrorMessage = "请输入{0}")]
        [StringLength(maximumLength:60,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String title  { get; set; }
        
		
        /// <summary>
        /// 是否默认
        /// </summary>
        [Display(Name = "是否默认")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Boolean isDefault  { get; set; }
        
		
        /// <summary>
        /// 开启自动升级
        /// </summary>
        [Display(Name = "开启自动升级")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Boolean isOpenUpgrade  { get; set; }
        
		
        /// <summary>
        /// 发展用户数量
        /// </summary>
        [Display(Name = "发展用户数量")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 developNum  { get; set; }
        
		
        /// <summary>
        /// 订单消费金额
        /// </summary>
        [Display(Name = "订单消费金额")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 expenditureMoney  { get; set; }
        
		
        /// <summary>
        /// 充值总金额
        /// </summary>
        [Display(Name = "充值总金额")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 rechargeAmount  { get; set; }
        
		
        /// <summary>
        /// 权重优先级
        /// </summary>
        [Display(Name = "权重优先级")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 prioritySortId  { get; set; }
        
		
    }
}
